package com.qf.voterabbitmqcustomer.voteLogs.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author lx
 * @since 2023-03-02
 */
@Data
@TableName("vote_logs")
public class VoteLogs implements Serializable {

    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    private String phoneId;

    private Integer contestantId;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date creatTime;


}
